package com.smedi.ismedi.authoritymanagement.core.application.query.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.smedi.ismedi.database.starter.domain.BasicField;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: xulinjun
 * @Date: 2021-7-13 19:42
 */
@Data
@Accessors(chain = true)
public class RoleBasicVo extends BasicField implements Serializable {
    private Long roleId;

    private String roleName;

    private String remark;

    private boolean admin;

    private String roleType;

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private LocalDate createdDate;

    @JsonFormat(pattern = "yyyy-MM-dd", locale = "zh", timezone = "GMT+8")
    private LocalDate latestUpdatedDate;

    private String createdLastName;

    private String updatedLastName;

    private List<Long> roleOwnerPersonIds = new ArrayList<>();

    private Long roleMemberId;
}
